package com.mf.entity.dto.basic;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.mf.utils.tree.AbstractTreeNode;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 权限表
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_permission")
public class DtoPermission extends AbstractTreeNode<DtoPermission, Integer> implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId

    private Integer id;
    /**
     * 权限名称
     */

    private String permName;
    private String permType;

    /**
     * 权限描述
     */

    private String description;
    /**
     * 父级id
     */

    private Integer pid;
    /**
     * 排序
     */

    private Integer sort;
    /**
     * 创建时间
     */

    private LocalDateTime createdTime;
    /**
     * 更新时间
     */

    private LocalDateTime updateTime;

}
